package com.night.student.mapper;

import com.night.common.entity.administration.Teacher;
import com.night.common.entity.student.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Mr.Wang
 * @ClassName: StudentMapper
 * @Description: //TODO
 * @date: 2022/10/18-19:14
 */
public interface StudentMapper {
    void insert(Student student);
    void update(Student student);
    void adds(@Param("students") List<Student> students);
    Student getStudent(int id);
    Student getStudentByNumber(String studentNumber);
    List<Student> getByClassId(int classId);
    Teacher getByStudent(int id);

}
